#!/usr/bin/env bash



declare -r currDir=$(cd `dirname $0`;pwd)
declare -r projectDir=`dirname ${currDir}`

declare -r jardir="${projectDir}/spark-local-01/target"

spark-submit \
--master yarn-cluster \
--driver-memory 5g \
--executor-memory 3g \
--num-executors 2 \
--executor-cores 2 \
--class com.neo.word.count.WordCount \
${jardir}/spark-local-01-1.0-SNAPSHOT.jar





